package org.dromara.bclt.domain.vo;

import org.dromara.bclt.domain.TrainingVideo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 手环---跟练视图对象 bclt_training_video
 *
 * @author RRyuan
 * @date 2025-05-19
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TrainingVideo.class)
public class TrainingVideoVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 视频id
     */
    @ExcelProperty(value = "视频id")
    private Long id;

    /**
     * 跟练视频名称
     */
    @ExcelProperty(value = "跟练视频名称")
    private String name;

    /**
     * 跟练视频封面
     */
    @ExcelProperty(value = "跟练视频封面")
    private String avatar;

    /**
     * 视频类型
     */
    @ExcelProperty(value = "视频类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "bclt_training_video_type")
    private String bcltTrainingVideoType;

    /**
     * 视频url
     */
    @ExcelProperty(value = "视频url")
    private String url;

    /**
     * 视频总时长
     */
    @ExcelProperty(value = "视频总时长")
    private Long totalTime;

    /**
     * 视频备注
     */
    @ExcelProperty(value = "视频备注")
    private String remark;


}
